package com.cdplife.ci.modular.system.service;

import com.cdplife.ci.modular.system.model.PlanInsuranceKind;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 计划险种表 服务类
 * </p>
 *
 * @author jers
 * @since 2018-11-11
 */
public interface IPlanInsuranceKindService extends IService<PlanInsuranceKind> {

    /**
     * 获取保单计划已有的险种列表
     */
    List<PlanInsuranceKind> getPlanInsuranceKindList(Integer planId,Integer planType);
    /**
     * 批量获取险种名称
     */
    List<Map<String, Object>> getInsuranceNameByBatchIds(List<Long> policyIds,Integer planType);
    /**
     * 通过计划ID批量获取险种信息
     */
    List<Map<String, Object>> getInsuranceListByBatchIds(Long planId,Integer planType);
}
